<%@ Control Language="C#" AutoEventWireup="true" CodeFile="Calendar.ascx.cs" Inherits="Pub_Module_Calendar" %>
 <link href="<%= ResolveClientUrl("~/")%>Pub/Css/JQ/jquery-ui-1.8.13.custom.css" rel="stylesheet"
        type="text/css" />

    <script type="text/javascript" src="<%= ResolveClientUrl("~/")%>Pub/Js/JQ/jquery-ui-1.8.13.custom.min.js"></script>

 
<script language="javascript" type="text/javascript" src="<%= ResolveClientUrl("~/")%>Pub/Js/JQ/jquery.ui.core.js"></script>

<script language="javascript" type="text/javascript" src="<%= ResolveClientUrl("~/")%>Pub/Js/JQ/jquery.ui.widget.js"></script>

<script language="javascript" type="text/javascript" src="<%= ResolveClientUrl("~/")%>Pub/Js/JQ/jquery.ui.mouse.js"></script>

<script language="javascript" type="text/javascript" src="<%= ResolveClientUrl("~/")%>Pub/Js/JQ/jquery.ui.datepicker.js"></script>

 <script>
var Url='<%= ResolveClientUrl("~/")%>'; 
	$(function() {
		$( "#<%= txtDate.ClientID%>" ).datepicker({
			showOn: "button",
			buttonImage:Url+"images/icon/calendar.gif",
			buttonImageOnly: true,
			changeMonth: true,
			changeYear: true,
			showButtonPanel: true,
			dateFormat:"yy/mm/dd"

		});
	});
    </script>
<asp:TextBox ID="txtDate" runat="server" Width="90px"></asp:TextBox>